[INFO] fetching crate asn1_der 0.7.1...
[INFO] checking asn1_der-0.7.1 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate asn1_der 0.7.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate asn1_der 0.7.1 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate asn1_der 0.7.1
[INFO] finished tweaking crates.io crate asn1_der 0.7.1
[INFO] tweaked toml for crates.io crate asn1_der 0.7.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 68d8b8b559bd04dc3efd7adcc9195f66bc3d6a48da92bd231a91436148c48998
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "68d8b8b559bd04dc3efd7adcc9195f66bc3d6a48da92bd231a91436148c48998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68d8b8b559bd04dc3efd7adcc9195f66bc3d6a48da92bd231a91436148c48998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68d8b8b559bd04dc3efd7adcc9195f66bc3d6a48da92bd231a91436148c48998", kill_on_drop: false }`
[INFO] [stdout] 68d8b8b559bd04dc3efd7adcc9195f66bc3d6a48da92bd231a91436148c48998
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] daaf1097fdeca88d56b0966c3f1323abb9b62b64253c60915877044499f6269a
[INFO] running `Command { std: "docker" "start" "-a" "daaf1097fdeca88d56b0966c3f1323abb9b62b64253c60915877044499f6269a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking asn1_der v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:47
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                  ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:59
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                              ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:68
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]    --> src/error.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |         source: &Option<ErrorSource>) -> fmt::Result
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/typed/utf8_string.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     extern "C" fn is_utf8(slice: &[u8]) -> bool {
[INFO] [stdout]    |                                  ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stdout] error: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]    --> src/error.rs:95:47
[INFO] [stdout]     |
[INFO] [stdout] 95  |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]     |                                                  ^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 | #![cfg_attr(test, forbid(warnings))]
[INFO] [stdout]     |                          ^^^^^^^^
[INFO] [stdout]     = note: `#[forbid(improper_ctypes_definitions)]` implied by `#[forbid(warnings)]`
[INFO] [stdout]     = help: consider using `*const u8` and a length instead
[INFO] [stdout]     = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:59
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                              ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:68
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]    --> src/error.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |         source: &Option<ErrorSource>) -> fmt::Result
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/typed/utf8_string.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     extern "C" fn is_utf8(slice: &[u8]) -> bool {
[INFO] [stdout]    |                                  ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asn1_der`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "daaf1097fdeca88d56b0966c3f1323abb9b62b64253c60915877044499f6269a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "daaf1097fdeca88d56b0966c3f1323abb9b62b64253c60915877044499f6269a", kill_on_drop: false }`
[INFO] [stdout] daaf1097fdeca88d56b0966c3f1323abb9b62b64253c60915877044499f6269a
